export const TextPropsType = [{
  name: 'string',
  type: 'input',
  default: '请输入文字'
}, {
  name: 'size',
  type: 'select',
  default: 'big'
}, {
  name: 'color',
  type: 'color',
  default: '#000000'
}]

export const TextContent = ({string, size, color}) => {
  return <span style={{color: color, fontSize: size}}>{string || '默认文字'}</span>
}